package com.zxc.services.impl;

import com.zxc.dao.DeptMapper;
import com.zxc.entity.Dept;
import com.zxc.services.DeptServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.List;

/**
  * @author: zxc
  * @return:
  * @time:  2021/5/21 11:55
  * @description:
  */
@Service
public class DeptServicesImpl implements DeptServices {

    @Autowired
    private DeptMapper deptMapper;

    @Override
    public List<Dept> getDeptList() {
        return deptMapper.getDeptList();
    }
}
